<template>
    <view class="new-list-warp" v-if="content.enabled">
		<h-news-card
		    v-for="(item, index) in list"
		    :key="index"
		    :news-id="item.id"
		    :item="item"
		/>
    </view>
</template>

<script lang="ts" setup>
defineProps({
    content: {
        type: Object,
        default: () => ({})
    },
    list: {
        type: Object
    },
    styles: {
        type: Object,
        default: () => ({})
    }
})
</script>

<style lang="scss" scoped>
</style>
